﻿{
	"definitions" : [
		{
			"name" : "§3UNU Cicada §7[HO-109-LFG]",
			"subName" : "_desert",
			"secondTone": "_desert",
			"extraMaterials" : ["minecraft:dye:0:1", "minecraft:dye:11:3"]
		},
		{
			"name" : "§3UNU Cicada §7[HO-109-LFG]",
			"subName" : "_forrest",
			"secondTone": "_forrest",
			"extraMaterials" : ["minecraft:dye:0:1", "minecraft:dye:2:3"]
		},
		{
			"name" : "§3UNU Cicada §7[HO-109-LFG]",
			"subName" : "_winter",
			"secondTone": "_winter",
			"extraMaterials" : ["minecraft:dye:8:1", "minecraft:dye:15:3"]
		}
	],
	
	"general": {
		"description": "Recommended parts:\nStandard Wheel\nBudget Seat\n\nAdditional Parts\nAmmo Box",
		"numberWindows": 0,
		"type": "car",
		"openTop": true,
		"emptyMass": 800,
		"materials": ["unuparts:unucivil_trailer_unu_dolly_single:0:1", "mts:unuparts.unuparts_decor_unu_panel_steel:0:1"]
	},

	"motorized": {
		"isBigTruck": false,
		"isTrailer": true,
		"isFrontWheelDrive": false,
		"isRearWheelDrive": false,
		"hasRunningLights": false,
		"hasHeadlights": true,
		"hasTurnSignals": true,
		"hasCruiseControl": false,
		"fuelCapacity": 0,
		"axleRatio": 0,
		"dragCoefficient": 0.5,
		"hudTexture": "unuparts:textures/guis/unuparts_hud_unu_truck.png",
		"panelTexture": "unuparts:textures/guis/unuparts_panel_unu_truck.png",
		"instruments": []
	},
	
	"connectionGroups": [
		{
			"groupName": "HOOKUP",
			"isHookup": true,
			"connections": [
				{
					"type": "trailer_standard",
					"pos": [0.0,0.0,3.0],
					"distance": 0.0
				}
			]
		}
	],
	
	"parts": [
		{
			"pos" : [0.8125, 0, 0],
			"rot": [0, 0, 0],
			"types": ["ground_wheel"],
			"defaultPart": "unuparts:unuparts_part_unu_wheel_standard_offroad",
			"minValue" : 0.6,
			"maxValue" : 1.125
		},
		{
			"pos" : [-0.8125, 0, 0],
			"rot": [0, 180, 0],
			"isMirrored": true,
			"types": ["ground_wheel"],
			"defaultPart": "unuparts:unuparts_part_unu_wheel_standard_offroad",
			"minValue" : 0.6,
			"maxValue" : 1.125
		},
		{
			"pos" : [0, 0.1875, 1.5],
			"rot" : [0, 180, 0],
			"isController" : true,
			"types" : ["seat_turret"],
			"defaultPart": "unuparts:unuparts_part_unu_seat_turret",
			"dismountPos": [1, 0.1875, 1.5]
		},
		{
			"pos" : [0, 0.5, 0],
			"rot" : [0, 180, 0],
			"types" : ["gun_fixed"],
			"customTypes" : ["unu_barrel_cicada"],
			"defaultPart" : "unumilitary:unumilitary_part_unu_barrel_cicada",
			"minValue" : 100.0,
			"maxValue" : 100.0
		},
		{
			"pos" : [0, 0.0625, 2],
			"rot" : [0, 90, 0],
			"types" : ["interactable_ammobox"],
			"defaultPart": "unuparts:unuparts_part_unu_crate_ammo",
			"minValue" : 0.0,
			"maxValue" : 2.0
		}
	],
	
	"collisionGroups": [
		{
			"collisions": [
				{	//Wheel 1
					"pos": [0.8125, -0.125, 0],
					"width": 0.125,
					"height": 0.125
				}
			],
			"animations": [
				{
					"animationType": "visibility",
					"variable": "part_present_1",
                    "clampMin": 0,
                    "clampMax": 0
				}
			]
		},
		{
			"collisions": [
				{	//Wheel 2
					"pos": [-0.8125, -0.125, 0],
					"width": 0.125,
					"height": 0.125
				}
			],
			"animations": [
				{
					"animationType": "visibility",
					"variable": "part_present_2",
                    "clampMin": 0,
                    "clampMax": 0
				}
			]
		},
		{
			"collisions": [
				{
					"pos": [-0.8125,0.0,0.0],
					"width": 0.125,
					"height": 0.125
				}
			]
		}
	],

	"rendering": {
		"hudTexture": "unuparts:textures/guis/unuparts_hud_unu_budget.png",
		"panelTexture": "unuparts:textures/guis/unuparts_panel_unu_budget.png",
		//"panelTextColor": "#cccccc",
		//"panelLitColor": "#cccccc",
		"initialVariables": ["hasStarterSound"],
		"textObjects": [],
		"animatedObjects": [
			{
				"objectName": "$Wheel",
				"animations": [
					{
						"animationType": "rotation",
						"centerPoint": [0.3125, 0.1875, 0],
						"axis": [0, -3.0902, -9.5105],
						"variable": "gun_pitch_1"
					}
				]
			},
			{
				"objectName": "$LeftWheel",
				"animations": [
					{
						"animationType": "rotation",
						"centerPoint": [0.8125, 0, 0],
						"axis": [1, 0, 0],
						"variable": "ground_rotation_1"
					}
				]
			},
			{
				"objectName": "$RightWheel",
				"animations": [
					{
						"animationType": "rotation",
						"centerPoint": [-0.8125, 0, 0],
						"axis": [-1, 0, 0],
						"variable": "ground_rotation_2"
					}
				]
			}
		],
		"sounds": [],
		"particles": []
	}
}
